﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MethodAttributes
{
    [AttributeUsage(AttributeTargets.Method)]
    class VersionAttribute:System.Attribute
    {
        private int version;
        private string comment;

        public VersionAttribute(int version, string comment)
        {
            this.version = version;
            this.comment = comment;
        }

        public string Comment
        {
            get
            {
                return comment;
            }
        }

        public int Version
        {
            get
            {
                return version;
            }
        }
    }
}
